package org.example.back.mapper.plan;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.back.entity.plan.EndurancePlan;


import java.time.LocalDate;
@Mapper
public interface EndurancePlanMapper {
    int insertPlan(EndurancePlan plan);
    EndurancePlan selectByUserIdAndStartDate(@Param("userId") Integer userId,
                                             @Param("startDate") LocalDate startDate);
}
